Skip to content

Conversation

@MohabCodeX
Copy link
Contributor

Setting setTrainSpeed(train, -1) will now return -1 when calling getTrainSpeed(train).
Fixes #2732

@FileEX FileEX added backwards-incompatible Should be merged after the release of 1.7.1 bugfix Solution to a bug of any kind labels Sep 4, 2025
@FileEX FileEX merged commit 460ad51 into multitheftauto:master Sep 4, 2025
MTABot pushed a commit that referenced this pull request Sep 4, 2025
460ad51 Fix `getTrainSpeed` returning 0 for negative speeds (#2732) (#4415)
@MohabCodeX MohabCodeX deleted the fix/train-speed branch September 5, 2025 08:38
@FileEX FileEX added this to the 1.7.1 milestone Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards-incompatible Should be merged after the release of 1.7.1 bugfix Solution to a bug of any kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setTrainSpeed vs getTrainSpeed

2 participants